//
//  ViewController.m
//  GaoDeSDKDemo
//
//  Created by 王强 on 16/2/19.
//  Copyright © 2016年 王强. All rights reserved.
//

#import "ViewController.h"
#import "MAMapKit/MAMapKit.h"

@interface ViewController ()<MAMapViewDelegate>

@property (strong, nonatomic) IBOutlet UITextField *addressTF; // 地址输入框

@property (strong, nonatomic) IBOutlet UIView *containerView; // 地图视图容器

@property (strong, nonatomic) MAMapView *mapView;// 地图视图

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.mapView = [[MAMapView alloc] initWithFrame:self.containerView.bounds];
    [self.containerView addSubview:self.mapView];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
